package com.lms.desiginmode.template;

/**
 * @Author: 李孟帅
 * @CreateTime: 2020-12-12 15:55
 * @Description:
 */
public abstract class Game {
    abstract void startPlay();

    abstract void endPlay();

    public final void play() {
        startPlay();
        endPlay();
    }
}
